home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.8 / fwatch.8 < prev    next >
Text File  |  1995-07-25  |  1KB  |  18 lines

  1. Usage: fwatch [-acme] -<seconds> filename ...
  2. fwatch watches files for time changes.
  3. At intervals, it does a stat(S) on each file, and prints on the standard
  4. output the names of those which have had an inode time change (up or
  5. down).  One name is printed per line.  By default, only the modification
  6. time is checked.  The flags allow any of the times to be checked: -a for
  7. access time, -c for creation (inode change) time, and -m for modification
  8. time. The filename will be printed if any of the specified times changes.
  9. The default stat interval is one second.  The interval can be set by
  10. specifying it with -<seconds>, as in -60 to check at one-minute intervals.
  11. fwatch continues executing until killed by a signal.
  12.  
  13. It is normally an error for a file to not exist, and fwatch will abort
  14. with an error message and nonzero exit value if a file cannot be stat()ed.
  15. If -e is given, no error message is printed and stat does not abort.  The
  16. name of a file is printed if it disappears or can no longer be accessed
  17. for any other reason, and it is printed again if it comes back.
  18.